home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950929-19951130
/
000084_news@columbia.edu_Thu Oct 12 03:57:06 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA27827
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 12 Oct 1995 14:50:48 -0400
Received: by apakabar.cc.columbia.edu id AA11404
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 12 Oct 1995 14:50:47 -0400
Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!gatech!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: "CLEAN" Telnet
Message-Id: <1995Oct12.095706.63503@cc.usu.edu>
Date: 12 Oct 95 09:57:06 MDT
References: <rburgess.87.307C1695@physiology.uwo.ca>
Organization: Utah State University
Lines: 49
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <rburgess.87.307C1695@physiology.uwo.ca>, rburgess@physiology.uwo.ca (Ron Burgess) writes:
> I need to capture the clean text from several screens using Kermit. If I
> connect to our VAX/VMS host and log the session to a redirected printer
> file, everything works. If I connect to a Unix host I get all the ANSI escape
> codes embedded in the file NO MATTER WHAT I DO.
> If I connect to the Unix host with the terminal type set to none, the
> screen displays all the codes that end up in the file. I know absolutely
> nothing about Unix, but it seems to me that the Unix host is defaulting to
> one particular terminal type and sending the codes for it . Is there anything
> I can do to remedy this ???
>
> Thanks for all the help.
--------------
There are two ways of printing during VTxxx terminal emulation,
as described briefly below from distribution file MSVIBM.VT. The codes
are those received by the terminal emulator.
CSI Pn i MC Printer controls (Media Copy)
Pn
0 Print whole Screen
4 Exit printer controller (transparent print)
5 Enter printer controller (transparent print)
Transparent printing sends all output, except the CSI 4 i termination string,
to the printer and not the screen, uses an 8-bit channel if no parity so NUL
and DEL will be seen by the printer and by the termination recognizer code,
and all translation and character set selections are bypassed.
CSI ? Pn i MC DEC Printer controls (Media Copy)
Pn
1 Print line containing cursor
4 Exit autoprint (stop echoing to printer)
5 Enter autoprint (echo screen chars to printer)
Autoprint prints a final display line only when the cursor is moved off the
line by an autowrap or LF, FF, or VT (otherwise do not print the line).
The keyboard verb \Kprtscn (defaults to Control-PrintScrn key combo)
also invokes controller printing (the line by line flavor). It's a toggle.
You can redirect printing by Kermit command SET PRINTER <new device or file
name>.
LOG SESSION is NOT a printing method. It is a total capture of the
incoming data stream.
For your Unix system I strongly recommend talking with its system
manager. Be sure the terminal type matches that being emulated by Kermit.
Joe D.